package com.two.screen.water.balance.utils.statusbar

import android.os.Build

class SdkUtil {
    companion object {

        fun sdkVersionGe(version: Int): Boolean {
            return Build.VERSION.SDK_INT >= version
        }

        fun sdkVersionEq(version: Int): Boolean {
            return Build.VERSION.SDK_INT == version
        }

        fun sdkVersionLt(version: Int): Boolean {
            return Build.VERSION.SDK_INT < version
        }

        fun sdkVersionGe19(): Boolean {
            return sdkVersionGe(19)
        }

        fun sdkVersionGe21(): Boolean {
            return sdkVersionGe(21)
        }
    }
}